forked from electronicarts/CnC_Generals_Zero_Hour
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
DebugIs mostly debug functionalityIs mostly debug functionalityMinorSeverity: Minor < Major < Critical < BlockerSeverity: Minor < Major < Critical < BlockerRefactorEdits the code with insignificant behavior changes, is never user facingEdits the code with insignificant behavior changes, is never user facing
Description
Some code calls logging functions like so:
char Buf[256];
sprintf(Buf,"After terrainlogic->loadmap=%f",((double)(endTime64-startTime64)/(double)(freq64)*1000.0));
DEBUG_LOG(("%s", Buf));
This is too much effort.
Simpler:
DEBUG_LOG(("After terrainlogic->loadmap=%f", ((double)(endTime64-startTime64)/(double)(freq64)*1000.0));
Metadata
Metadata
Assignees
Labels
DebugIs mostly debug functionalityIs mostly debug functionalityMinorSeverity: Minor < Major < Critical < BlockerSeverity: Minor < Major < Critical < BlockerRefactorEdits the code with insignificant behavior changes, is never user facingEdits the code with insignificant behavior changes, is never user facing