[Fix] Fucking bug has been there since forever!!!!

This commit is contained in:
Allanis 2013-02-04 00:52:16 +00:00
parent aa8a2187ba
commit f7dadaae29

View File

@ -31,7 +31,7 @@ Ship* get_ship(const char* name) {
if(i == ships) // Ship doesn't exist, game will probably crash now.
WARN("Ship %s does not exist", name);
return tmp+1;
return tmp+i;
}
Ship* ship_parse(xmlNodePtr parent) {