mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 13:09:15 +00:00
(svn r10751) -Codechange: make the group struct use the pool item class as super class.
This commit is contained in:
@@ -849,7 +849,7 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
|
||||
const Group *g = GetGroup(GetInt32(&argv));
|
||||
int64 args[1];
|
||||
|
||||
assert(IsValidGroup(g));
|
||||
assert(g->IsValid());
|
||||
|
||||
args[0] = g->index;
|
||||
buff = GetStringWithArgs(buff, IsCustomName(g->string_id) ? g->string_id : (StringID)STR_GROUP_NAME_FORMAT, args, last);
|
||||
|
Reference in New Issue
Block a user