mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
[DDGR] Fixed accidental assignment in 'if' statement
This commit is contained in:
parent
a4ef5fd0d5
commit
fcccc9aafa
@ -191,7 +191,7 @@ void ddgr_FatalError(const char *fmt, ...) {
|
||||
std::vsnprintf(buf, 768, fmt, arglist);
|
||||
va_end(arglist);
|
||||
|
||||
if (DDGR_subsystems[i] = !-1) {
|
||||
if (DDGR_subsystems[i] != -1) {
|
||||
strcat(buf, "\n\nSubsystem: ");
|
||||
strcat(buf, DDGR_subsystem_names[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user