~ubuntu-branches/ubuntu/raring/simutrans/raring-proposed

« back to all changes in this revision

Viewing changes to simintr.cc

  • Committer: Package Import Robot
  • Author(s): Ansgar Burchardt
  • Date: 2011-11-03 19:59:02 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20111103195902-uopgwf488mfctb75
Tags: 111.0-1
* New upstream release.
* debian/rules: Update get-orig-source target for new upstream release.
* Use xz compression for source and binary packages.
* Use override_* targets to simplify debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
void interrupt_check(const char* caller_info)
90
90
{
91
91
        DBG_DEBUG4("interrupt_check", "called from (%s)", caller_info);
92
 
        static const char * last_caller = "program start";
93
92
        if(enabled) {
94
93
                const long now = dr_time();
95
94
                if((now-last_time)*FRAME_TIME_MULTI < frame_time) {
103
102
                        enabled = true;
104
103
                }
105
104
        }
106
 
        last_caller = caller_info;
 
105
        (void)caller_info;
107
106
}
108
107
 
109
108