File diff r5592:903c7b1ef88c → r5593:14e2ddedbdbe
src/newgrf.cpp
Show inline comments
 
@@ -1076,7 +1076,7 @@ static bool BridgeChangeInfo(uint brid, 
 

	
 
				if (bridge->sprite_table == NULL) {
 
					/* Allocate memory for sprite table pointers and zero out */
 
					CallocT(bridge->sprite_table, 7);
 
					CallocT(&bridge->sprite_table, 7);
 
				}
 

	
 
				for (; numtables-- != 0; tableid++) {