diff options
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index d0a4030bd..28496cc7c 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -541,7 +541,7 @@ static bool LoadOldPrice(LoadgameState *ls, int num) /* We use a struct to store the prices, but they are ints in a row.. so just access the struct as an array of int32's */ - ((int32*)&_price)[num] = _old_price; + ((Money*)&_price)[num] = _old_price; _price_frac[num] = _old_price_frac; return true; |