(svn r2420) - Codechange: magic number elminitation of cursorsprites.

This commit is contained in:
Darkvater
2005-06-06 13:47:06 +00:00
parent 71c2a573e1
commit 5fed47964e
17 changed files with 73 additions and 70 deletions

5
misc.c
View File

@@ -3,6 +3,7 @@
#include "string.h"
#include "strings.h" // XXX GetParam*
#include "table/strings.h"
#include "table/sprites.h"
#include "map.h"
#include "vehicle.h"
#include "gfx.h"
@@ -208,7 +209,7 @@ void InitializeGame(uint log_x, uint log_y)
AddTypeToEngines(); // make sure all engines have a type
SetObjectToPlace(1, 0, 0, 0);
SetObjectToPlace(SPR_CURSOR_ZZZ, 0, 0, 0);
_pause = 0;
_fast_forward = 0;
@@ -270,7 +271,7 @@ void GenerateWorld(int mode, uint log_x, uint log_y)
_generating_world = true;
InitializeGame(log_x, log_y);
SetObjectToPlace(1, 0, 0, 0);
SetObjectToPlace(SPR_CURSOR_ZZZ, 0, 0, 0);
// Must start economy early because of the costs.
StartupEconomy();