mirror of
https://github.com/ioquake/jedi-academy.git
synced 2025-02-13 07:31:46 +00:00
avoid defining the game import var twice
This commit is contained in:
parent
5335a8f693
commit
d13e72ab9d
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
#include "../game/weapons.h"
|
#include "../game/weapons.h"
|
||||||
|
|
||||||
|
|
||||||
gameinfo_import_t gi;
|
extern gameinfo_import_t gi;
|
||||||
|
|
||||||
weaponData_t weaponData[WP_NUM_WEAPONS];
|
weaponData_t weaponData[WP_NUM_WEAPONS];
|
||||||
ammoData_t ammoData[AMMO_MAX];
|
ammoData_t ammoData[AMMO_MAX];
|
||||||
|
@ -29,7 +29,9 @@ GI_Init
|
||||||
===============
|
===============
|
||||||
*/
|
*/
|
||||||
void GI_Init( gameinfo_import_t *import ) {
|
void GI_Init( gameinfo_import_t *import ) {
|
||||||
|
#if 0
|
||||||
gi = *import;
|
gi = *import;
|
||||||
|
#endif
|
||||||
|
|
||||||
WP_LoadWeaponParms ();
|
WP_LoadWeaponParms ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue