/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* bp.c: The `build pointer' (bp) map
- *
+ *
* Known contributors to this file:
* Ville Virrankoski, 1996
* Markus Armbruster, 2007
static struct bp *
bp_ref(struct bp *bp, struct sctstr *sp)
{
- return &bp[XYOFFSET(sp->sct_x, sp->sct_y)];
+ return &bp[sp->sct_uid];
}
/*