[go: up one dir, main page]

Menu

Commit [r13710]  Maximize  Restore  History

Small profile-guided optimization: Unit::nummesh() doesn't really need

to be virtual, and having it so is burning lots of cycles in hot
draw/physics loops, so until it becomes necessary, make it nonvirtual
and inline

klaussfreire 2016-06-30

changed /trunk/vegastrike/src/cmd/unit.cpp
changed /trunk/vegastrike/src/cmd/unit.h
changed /trunk/vegastrike/src/cmd/unit_generic.h